package com.yunshang.shoppingmall.entity;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.io.Serializable;
//财务积分类配置

@Component
@ConfigurationProperties(prefix = "finace")
public class FianceConfig implements Serializable {
    private double percent;//手续费百分比
    private double changMoney;//单笔手续费

    public double getChangMoney() {
        return changMoney;
    }

    public void setChangMoney(double changMoney) {
        this.changMoney = changMoney;
    }

    public double getPercent() {
        return percent;
    }

    public void setPercent(double percent) {
        this.percent = percent;
    }
}
